package com.qf.leadnewscommon.content_security.adapters;

import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.auth.AlibabaCloudCredentials;
import com.aliyuncs.auth.AlibabaCloudCredentialsProvider;
import com.aliyuncs.profile.IClientProfile;

/**
 *  适配器设计模式
 */
public class ProfileDefaultAcsClient extends DefaultAcsClient {
    private IClientProfile profile;
    public ProfileDefaultAcsClient() {
        super();
    }

    public ProfileDefaultAcsClient(IClientProfile profile) {
        super(profile);
        this.profile = profile;
    }

    public ProfileDefaultAcsClient(IClientProfile profile, AlibabaCloudCredentials credentials) {
        super(profile, credentials);
        this.profile = profile;
    }

    public ProfileDefaultAcsClient(IClientProfile profile, AlibabaCloudCredentialsProvider credentialsProvider) {
        super(profile, credentialsProvider);
        this.profile = profile;
    }

    public IClientProfile getProfile() {
        return profile;
    }
}
